const express = require('express');
const router = express.Router();

const db_handler = require('./db_handler.js');


//登录
router.post('/logon', db_handler.logon);

//注册
router.post('/register', db_handler.register);

//角色列表
router.post('/actor', db_handler.actor);

//创建角色
router.post('/creatActor', db_handler.creatActor);

//鉴权
router.post('/authentication', db_handler.authentication);

module.exports = router;